package com.ck.service;

import java.util.List;
import java.util.Map;

import com.ck.domain.Banji;
import com.ck.domain.Student;
import com.ck.domain.Teacher;

public interface TeacherService {
	
	public Teacher gainTeacher(String username);
	public Teacher gainTeacher(Integer id);
	public boolean editTeacherOwnInfo(Teacher teacher);
	public boolean validatePassword(Teacher teacher, String confirmPassword, Map model);
	public boolean editTeacherOwnPassword(String oldPassword, Teacher teacher, Map model);
	
	public List<Banji> gainBanjiList();
	public Banji gainBanji(Integer id);
	public Banji gainBanji(String name);
	public boolean addNewBanji(Banji banji, Map model);
	public boolean editBanjiInfo(Banji banji, Map model);
	
	public List<Student> gainStudentList();
	public List<Student> gainStudentByBanji(Integer banji_id);
	public Student gainStudent(Integer id);
	public boolean addNewStudent(Student student, Map model);
	public boolean editStudentInfo(Student student);
	public void resetStudentPassword(Integer id);

}
